package com.stageauthserver.authserver;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 *
 * 权限服务
 */
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages = {"com.stagecommon.common","com.stageauthserver.authserver"})
@MapperScan(basePackages = {"com.stagecommon.common.mapper"})
public class AuthServerApplication
{
    public static void main( String[] args )
    {
        SpringApplication.run(AuthServerApplication.class, args);
    }
}
